home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / UIScript / SingGame / Coaching / ROSTER.UI
Text File  |  1999-06-14  |  30KB  |  1,119 lines

  1. "2D\UI\Coaching\Roster"
  2.  
  3. //********************************
  4. //  Data Container
  5. //********************************
  6. DataContainer {
  7.     Int "SingleGameCoachingHomeAwaySelection" {
  8.         RadioGroup "SingleRosterLogoBox";
  9.     };
  10.     Int "EnableSubstitutionsAway" {
  11.         CheckButton "SingleGameSubstitutionButtonAway";
  12.         InitialValue 1;
  13.     };
  14.     Int "EnableSubstitutionsHome" {
  15.         CheckButton "SingleGameSubstitutionButtonHome";
  16.         InitialValue 1;
  17.     };
  18.     String "SingleRosterHomePlayerDragID" {InitialValue " ";};
  19.  
  20.     String "SingleRosterAwayPlayerDragID" {InitialValue " ";};
  21.  
  22.     Int "HomeTeamSelection" {PlayerDBListBox "SingleRosterHomePlayersListBox";};
  23.     Int "HomeTeamSelection" {PlayerDragItem "SingleRosterHomePlayer";};
  24.     Int "HomeTeamSelection" {PlayerDropItem "SingleRosterHomeCourtCenter";};
  25.     Int "HomeTeamSelection" {PlayerDropItem "SingleRosterHomeCourtShootingGuard";};
  26.     Int "HomeTeamSelection" {PlayerDropItem "SingleRosterHomeCourtPointGuard";};
  27.     Int "HomeTeamSelection" {PlayerDropItem "SingleRosterHomeCourtSmallForward";};
  28.     Int "HomeTeamSelection" {PlayerDropItem "SingleRosterHomeCourtPowerForward";};
  29.  
  30.     Int "VisitorTeamSelection" {PlayerDBListBox "SingleRosterAwayPlayersListBox";};
  31.     Int "VisitorTeamSelection" {PlayerDragItem "SingleRosterAwayPlayer";};
  32.     Int "VisitorTeamSelection" {PlayerDropItem "SingleRosterAwayCourtCenter";};
  33.     Int "VisitorTeamSelection" {PlayerDropItem "SingleRosterAwayCourtShootingGuard";};
  34.     Int "VisitorTeamSelection" {PlayerDropItem "SingleRosterAwayCourtPointGuard";};
  35.     Int "VisitorTeamSelection" {PlayerDropItem "SingleRosterAwayCourtSmallForward";};
  36.     Int "VisitorTeamSelection" {PlayerDropItem "SingleRosterAwayCourtPowerForward";};
  37.  
  38.     DBEBContentProvider "SingleRosterHomePlayerDrag" {
  39.         PlayerDragItem "SingleRosterHomePlayer";
  40.         Database "AllStarPlayersHome";
  41.         Format {
  42.             Int Field "nNum" Digits 2 Chicklet;
  43.         };
  44.         InitialValue {
  45.             Restrict String Field "szID" Equals " " LinkedToData "SingleRosterHomePlayerDragID";
  46.         };
  47.     };
  48.  
  49.     DBEBContentProvider "SingleRosterAwayPlayerDrag" {
  50.         PlayerDragItem "SingleRosterAwayPlayer";
  51.         Database "AllStarPlayersAway";
  52.         Format {
  53.             Int Field "nNum" Digits 2 Chicklet;
  54.         };
  55.         InitialValue {
  56.             Restrict String Field "szID" Equals " " LinkedToData "SingleRosterAwayPlayerDragID";
  57.         };
  58.     };
  59.  
  60.     DBEBContentProvider "SingleRosterHomePlayerCenter" {
  61.         PlayerDropItem "SingleRosterHomeCourtCenter";
  62.         Database "AllStarPlayersHome";
  63.         Format {
  64.             Int Field "nNum" Digits 2 Chicklet;
  65.             String " ";
  66.             String " ";
  67.             String Field "szFirst";
  68.             String " ";
  69.             String Field "szLast";
  70.         };
  71.         InitialValue {
  72.             Restrict String Field "szStartPos" Equals "C";
  73.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  74.         };
  75.     };
  76.  
  77.     DBEBContentProvider "SingleRosterHomePlayerShootingGuard" {
  78.         PlayerDropItem "SingleRosterHomeCourtShootingGuard";
  79.         Database "AllStarPlayersHome";
  80.         Format {
  81.             Int Field "nNum" Digits 2 Chicklet;
  82.             String " ";
  83.             String " ";
  84.             String Field "szFirst";
  85.             String " ";
  86.             String Field "szLast";
  87.         };
  88.         InitialValue {
  89.             Restrict String Field "szStartPos" Equals "SG";
  90.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  91.         };
  92.     };
  93.  
  94.     DBEBContentProvider "SingleRosterHomePlayerPointGuard" {
  95.         PlayerDropItem "SingleRosterHomeCourtPointGuard";
  96.         Database "AllStarPlayersHome";
  97.         Format {
  98.             Int Field "nNum" Digits 2 Chicklet;
  99.             String " ";
  100.             String " ";
  101.             String Field "szFirst";
  102.             String " ";
  103.             String Field "szLast";
  104.         };
  105.         InitialValue {
  106.             Restrict String Field "szStartPos" Equals "PG";
  107.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  108.         };
  109.     };
  110.  
  111.     DBEBContentProvider "SingleRosterHomePlayerSmallForward" {
  112.         PlayerDropItem "SingleRosterHomeCourtSmallForward";
  113.         Database "AllStarPlayersHome";
  114.         Format {
  115.             Int Field "nNum" Digits 2 Chicklet;
  116.             String " ";
  117.             String " ";
  118.             String Field "szFirst";
  119.             String " ";
  120.             String Field "szLast";
  121.         };
  122.         InitialValue {
  123.             Restrict String Field "szStartPos" Equals "SF";
  124.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  125.         };
  126.     };
  127.  
  128.     DBEBContentProvider "SingleRosterHomePlayerPowerForward" {
  129.         PlayerDropItem "SingleRosterHomeCourtPowerForward";
  130.         Database "AllStarPlayersHome";
  131.         Format {
  132.             Int Field "nNum" Digits 2 Chicklet;
  133.             String " ";
  134.             String " ";
  135.             String Field "szFirst";
  136.             String " ";
  137.             String Field "szLast";
  138.         };
  139.         InitialValue {
  140.             Restrict String Field "szStartPos" Equals "PF";
  141.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  142.         };
  143.     };
  144.  
  145.     DBEBContentProvider "SingleRosterAwayPlayerCenter" {
  146.         PlayerDropItem "SingleRosterAwayCourtCenter";
  147.         Database "AllStarPlayersAway";
  148.         Format {
  149.             Int Field "nNum" Digits 2 Chicklet;
  150.             String " ";
  151.             String " ";
  152.             String Field "szFirst";
  153.             String " ";
  154.             String Field "szLast";
  155.         };
  156.         InitialValue {
  157.             Restrict String Field "szStartPos" Equals "C";
  158.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  159.         };
  160.     };
  161.  
  162.     DBEBContentProvider "SingleRosterAwayPlayerShootingGuard" {
  163.         PlayerDropItem "SingleRosterAwayCourtShootingGuard";
  164.         Database "AllStarPlayersAway";
  165.         Format {
  166.             Int Field "nNum" Digits 2 Chicklet;
  167.             String " ";
  168.             String " ";
  169.             String Field "szFirst";
  170.             String " ";
  171.             String Field "szLast";
  172.         };
  173.         InitialValue {
  174.             Restrict String Field "szStartPos" Equals "SG";
  175.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  176.         };
  177.     };
  178.  
  179.     DBEBContentProvider "SingleRosterAwayPlayerPointGuard" {
  180.         PlayerDropItem "SingleRosterAwayCourtPointGuard";
  181.         Database "AllStarPlayersAway";
  182.         Format {
  183.             Int Field "nNum" Digits 2 Chicklet;
  184.             String " ";
  185.             String " ";
  186.             String Field "szFirst";
  187.             String " ";
  188.             String Field "szLast";
  189.         };
  190.         InitialValue {
  191.             Restrict String Field "szStartPos" Equals "PG";
  192.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  193.         };
  194.     };
  195.  
  196.     DBEBContentProvider "SingleRosterAwayPlayerSmallForward" {
  197.         PlayerDropItem "SingleRosterAwayCourtSmallForward";
  198.         Database "AllStarPlayersAway";
  199.         Format {
  200.             Int Field "nNum" Digits 2 Chicklet;
  201.             String " ";
  202.             String " ";
  203.             String Field "szFirst";
  204.             String " ";
  205.             String Field "szLast";
  206.         };
  207.         InitialValue {
  208.             Restrict String Field "szStartPos" Equals "SF";
  209.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  210.         };
  211.     };
  212.  
  213.     DBEBContentProvider "SingleRosterAwayPlayerPowerForward" {
  214.         PlayerDropItem "SingleRosterAwayCourtPowerForward";
  215.         Database "AllStarPlayersAway";
  216.         Format {
  217.             Int Field "nNum" Digits 2 Chicklet;
  218.             String " ";
  219.             String " ";
  220.             String Field "szFirst";
  221.             String " ";
  222.             String Field "szLast";
  223.         };
  224.         InitialValue {
  225.             Restrict String Field "szStartPos" Equals "PF";
  226.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  227.         };
  228.     };
  229.  
  230.     DBLBContentProvider "SingleRosterHomePlayersDBLBCP" {
  231.         PlayerDBListBox "SingleRosterHomePlayersListBox";
  232.         Database "AllStarPlayersHome";
  233.         Format {
  234.             String Field "szFirst" Tab;
  235.             String " ";
  236.             String Field "szLast";
  237.             String Field "szPos" Tab;
  238.             Int Field "nNum" Digits 2 Tab Chicklet;
  239.         };
  240.         InitialValue {
  241.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
  242.             Restrict Int Field "nActive" Equals 1;
  243.             Restrict String Field "szStartPos" Equals "";
  244.             SortBy String Field "szLast";
  245.         };
  246.     };
  247.  
  248.     DBLBContentProvider "SingleRosterAwayPlayersDBLBCP" {
  249.         PlayerDBListBox "SingleRosterAwayPlayersListBox";
  250.         Database "AllStarPlayersAway";
  251.         Format {
  252.             String Field "szFirst" Tab;
  253.             String " ";
  254.             String Field "szLast";
  255.             String Field "szPos" Tab;
  256.             Int Field "nNum" Digits 2 Tab Chicklet;
  257.         };
  258.         InitialValue {
  259.             Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
  260.             Restrict Int Field "nActive" Equals 1;
  261.             Restrict String Field "szStartPos" Equals "";
  262.             SortBy String Field "szLast";
  263.         };
  264.     };
  265. };
  266.  
  267. //********************************
  268. //  Images
  269. //********************************
  270. Image "SingleSubTab" {
  271.     Filename "subtab";
  272. };
  273. Image "focusDown" {
  274.     Filename "arFocDn";
  275. };
  276. Image "SingleGameOnOffEnabled" {
  277.     Filename "OffBut";
  278. };
  279. Image "SingleGameOnOffFocused" {
  280.     Filename "Focus";
  281. };
  282. Image "SingleGameOnOffArmed" {
  283.     Filename "OnBut";
  284. };
  285. Image "SingleRosterArrowPushDown" {
  286.     Filename "arpushDn";
  287. };
  288. Image "SingleRosterArrowFocusUp" {
  289.     Filename "arFocUp";
  290. };
  291. Image "SingleRosterArrowPushUp" {
  292.     Filename "arpushUp";
  293. };
  294. Image "SingleRosterSingleRosterBack2" {
  295.     Filename "Roster2";
  296.     Blend SeventyFiveOpacity;
  297. };
  298.  
  299. Image "SingleRosterSingleRosterBack1" {
  300.     Filename "Roster1";
  301. };
  302.  
  303. Image "SingleRosterSingleRosterUpEnabled" {
  304.     Filename "scrolup";
  305. };
  306.  
  307. Image "SingleRosterSingleRosterDownEnabled" {
  308.     Filename "scrldwn";
  309. };
  310.  
  311. Image "SingleRosterSingleRosterThumb" {
  312.     Filename "spin";
  313. };
  314.  
  315. Image "SingleRosterCourt" {
  316.     Filename "court";
  317.     Blend SeventyFiveOpacity;
  318. };
  319.  
  320. Image "SingleRosterLogoBox" {
  321.     Filename "clogobx";
  322.     Blend SeventyFiveOpacity;
  323. };
  324.  
  325. Image "SingleRosterHomeLogoArmed" {
  326.     Filename "homearm";
  327. };
  328.  
  329. Image "SingleRosterHomeLogoEnabled" {
  330.     Filename "homenab";
  331. };
  332. Image "SingleRosterHomeLogoFocused" {
  333.     Filename "homefoc";
  334. };
  335. Image "SingleRosterAwayLogoArmed" {
  336.     Filename "awayarm";
  337.     Position [-14, 0];
  338. };
  339.  
  340. Image "SingleRosterAwayLogoEnabled" {
  341.     Filename "awayena";
  342. };
  343. Image "SingleRosterAwayLogoFocused" {
  344.     Filename "awayfoc";
  345.     position [-14,0];
  346. };
  347.  
  348. Image "SingleRosterPlayerBack" {
  349.     Filename "pictbox";
  350.     Blend SeventyFiveOpacity;
  351. };
  352.  
  353.  
  354. //********************************
  355. //  Fonts
  356. //********************************
  357. Font "SingleRosterHomeListBox" {
  358.     Filename "vlistfnt";
  359.     Translate " 1234567890`QWERTYUIOPASDFGHJKL'ZXCVBNM." "qwertyuiopasdfghjklzxcvbnm-";
  360.     Kerning 1;
  361.     VerticalKerning 15;
  362.     
  363. };
  364.  
  365. Font "SingleRosterAwayListBox" {
  366.     Filename "vlistfnt";
  367.     Translate " 1234567890`QWERTYUIOPASDFGHJKL'ZXCVBNM." "qwertyuiopasdfghjklzxcvbnm-";
  368.     Kerning 1;
  369.     VerticalKerning 15;
  370. };
  371. Font "SingleGameOnOffButton" {
  372.     Filename "OnFnt";
  373.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  374.     Kerning 0;
  375. };
  376. Font "SingleGameTitleFont" {
  377.     Filename "yelfnt";
  378.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  379.     Kerning 1;
  380. };
  381.  
  382. //********************************
  383. //  Chicklets
  384. //********************************
  385. Chicklet "SingleRosterHome" {
  386.     Radius 9.65;
  387.     AntiAlias;
  388.  
  389.     //Knicks
  390.     Inside Color [230, 86, 30];
  391.     Outside Color [15, 59, 138];
  392.     //Spurs
  393.     Inside Color [0, 166, 167];
  394.     Outside Color [235, 95, 11];
  395.     //Sixers
  396.     Inside Color [136, 0, 5];
  397.     Outside Color [247, 247, 247];
  398.     //Bucks
  399.     Inside Color [48, 115, 65];
  400.     Outside Color [74, 24, 99];
  401.     //Bulls
  402.     Inside Color [118, 0, 0];
  403.     Outside Color [247, 247, 247];
  404.     //Cavs
  405.     Inside Color [0, 74, 165];
  406.     Outside Color [247, 247, 247];
  407.     //Celtics
  408.     Inside Color [0, 82, 49];
  409.     Outside Color [147, 147, 147];
  410.     //Clippers
  411.     Inside Color [0, 29, 154];
  412.     Outside Color [157, 0, 0];
  413.     //Grizzles
  414.     Inside Color [0, 137, 143];
  415.     Outside Color [205, 20, 31];
  416.     //Hawks
  417.     Inside Color [165, 8, 0];
  418.     Outside Color [242, 201, 0];
  419.     //Heat
  420.     Inside Color [115, 8, 8];
  421.     Outside Color [248, 210, 30];
  422.     //Hornets
  423.     Inside Color [59, 31, 128];
  424.     Outside Color [23, 127, 142];
  425.     //Jazz
  426.     Inside Color [65, 32, 129];
  427.     Outside Color [205, 133, 107];
  428.     //Kings
  429.     Inside Color [41, 24, 107];
  430.     Outside Color [247, 247, 247];
  431.     //Lakers
  432.     Inside Color [255, 186, 0];
  433.     Outside Color [94, 61, 127];
  434.     //Magic
  435.     Inside Color [18, 68, 182];
  436.     Outside Color [198, 198, 198];
  437.     //Mavs
  438.     Inside Color [0, 66, 107];
  439.     Outside Color [0, 90, 66];
  440.     //Nets
  441.     Inside Color [172, 0, 0];
  442.     Outside Color [0, 55, 111];
  443.     //Nuggets
  444.     Inside Color [156, 0, 8];
  445.     Outside Color [33, 60, 110];
  446.     //Pacers
  447.     Inside Color [10, 10, 79];
  448.     Outside Color [184, 155, 9];
  449.     //Pistons
  450.     Inside Color [0, 107, 132];
  451.     Outside Color [178, 13, 16];  
  452.     //Raptors
  453.     Inside Color [41, 24, 107];
  454.     Outside Color [182, 0, 39];
  455.     //Rockets
  456.     Inside Color [46, 100, 157];
  457.     Outside Color [206, 0, 44];
  458.     //Suns
  459.     Inside Color [236, 68, 12];
  460.     Outside Color [70, 22, 207];
  461.     //Sonics
  462.     Inside Color [176, 106, 47];
  463.     Outside Color [0, 70, 23];
  464.     //TWolves
  465.     Inside Color [0, 99, 74];
  466.     Outside Color [198, 198, 198];
  467.     //Blazers
  468.     Inside Color [198, 24, 8];
  469.     Outside Color [198, 198, 198];
  470.     //Warriors
  471.     Inside Color [19, 33, 78];
  472.     Outside Color [239, 157, 0];
  473.     //Wizards
  474.     Inside Color [181, 115, 57];
  475.     Outside Color [0, 68, 112];
  476. };
  477.  
  478. Chicklet "SingleRosterAway" {
  479.     Radius 9.65;
  480.     AntiAlias;
  481.  
  482.     //Knicks
  483.     Inside Color [15, 59, 138];
  484.     Outside Color [230, 86, 30];
  485.     //Spurs
  486.     Inside Color [235, 95, 112];
  487.     Outside Color [0, 166, 167];
  488.     //Sixers
  489.     Inside Color [8, 8, 8];
  490.     Outside Color [136, 0, 5];
  491.     //Bucks
  492.     Inside Color [74, 24, 99];
  493.     Outside Color [16, 49, 16];
  494.     //Bulls
  495.     Inside Color [118, 0, 0];
  496.     Outside Color [247, 247, 247];
  497.     //Cavs
  498.     Inside Color [8, 8, 8];
  499.     Outside Color [0, 74, 165];
  500.     //Celtics
  501.     Inside Color [0, 82, 49];
  502.     Outside Color [147, 147, 147];
  503.     //Clippers
  504.     Inside Color [157, 0, 0];
  505.     Outside Color [0, 29, 154];
  506.     //Grizzles
  507.     Inside Color [0, 137, 143];
  508.     Outside Color [162, 93, 35];
  509.     //Hawks
  510.     Inside Color [165, 0, 0];
  511.     Outside Color [171, 109, 51];
  512.     //Heat
  513.     Inside Color [8, 8, 8];
  514.     Outside Color [147, 18, 18];
  515.     //Hornets
  516.     Inside Color [23, 127, 142];
  517.     Outside Color [59, 31, 128];
  518.     //Jazz
  519.     Inside Color [65, 32, 129];
  520.     Outside Color [29, 172, 229];
  521.     //Kings
  522.     Inside Color [8, 8, 8];
  523.     Outside Color [41, 24, 107];
  524.     //Lakers
  525.     Inside Color [94, 61, 127];
  526.     Outside Color [255, 186, 16];
  527.     //Magic
  528.     Inside Color [8, 8, 8];
  529.     Outside Color [18, 68, 182];
  530.     //Mavs
  531.     Inside Color [0, 90, 66];
  532.     Outside Color [0, 66, 107];
  533.     //Nets
  534.     Inside Color [0, 33, 66];
  535.     Outside Color [172, 0, 0];
  536.     //Nuggets
  537.     Inside Color [20, 36, 66];
  538.     Outside Color [156, 0, 8];
  539.     //Pacers
  540.     Inside Color [10, 10, 79];
  541.     Outside Color [184, 155, 9];
  542.     //Pistons
  543.     Inside Color [0, 107, 132];
  544.     Outside Color [214, 156, 33];
  545.     //Raptors
  546.     Inside Color [41, 24, 107];
  547.     Outside Color [163, 0, 3];
  548.     //Rockets
  549.     Inside Color [14, 28, 112];
  550.     Outside Color [206, 0, 44];
  551.     //Suns
  552.     Inside Color [44, 14, 130];
  553.     Outside Color [212, 33, 33];
  554.     //Sonics
  555.     Inside Color [0, 57, 24];
  556.     Outside Color [108, 0, 0];
  557.     //TWolves
  558.     Inside Color [8, 8, 8];
  559.     Outside Color [0, 121, 88];
  560.     //Blazers
  561.     Inside Color [8, 8, 8];
  562.     Outside Color [198, 24, 8];
  563.     //Warriors
  564.     Inside Color [239, 157, 0];
  565.     Outside Color [30, 52, 123];
  566.     //Wizards
  567.     Inside Color [0, 68, 112];
  568.     Outside Color [181, 115, 57];
  569. };
  570.  
  571. //********************************
  572. //  Styles
  573. //********************************
  574. Style "SingleRosterHomePlayersListBoxStyle" {
  575.     Font "SingleRosterHomeListBox";
  576.     Chicklet "SingleRosterHome";
  577. };
  578.  
  579. Style "SingleRosterAwayPlayersListBoxStyle" {
  580.     Font "SingleRosterAwayListBox";
  581.     Chicklet "SingleRosterAway";
  582. };
  583.  
  584. Style "SingleRosterHomePlayersDragItemStyle" {
  585.     Font "SingleRosterHomeListBox";
  586.     Chicklet "SingleRosterHome";
  587. };
  588.  
  589. Style "SingleRosterAwayPlayersDragItemStyle" {
  590.     Font "SingleRosterAwayListBox";
  591.     Chicklet "SingleRosterAway";
  592. };
  593.  
  594. Style "SingleRosterHomePlayersDropItemStyle" {
  595.     Font "SingleRosterHomeListBox";
  596.     Chicklet "SingleRosterHome";
  597. };
  598.  
  599. Style "SingleRosterAwayPlayersDropItemStyle" {
  600.     Font "SingleRosterAwayListBox";
  601.     Chicklet "SingleRosterAway";
  602. };
  603.  
  604. Style "SingleRosterSingleRosterStyle" {
  605.     Image "SingleRosterSingleRosterBack2";
  606.     Image "SingleRosterSingleRosterBack1";
  607. };
  608. ButtonStyle "SingleGameOnOffButton" {
  609.     Enabled Image "SingleGameOnOffEnabled";
  610.     Focused Image "SingleGameOnOffFocused";
  611.     Armed Image "SingleGameOnOffArmed";
  612.     Enabled Font "SingleGameOnOffButton";
  613. };
  614. ButtonStyle "SingleRosterSingleRosterUp" {
  615.     Enabled Image "SingleRosterSingleRosterUpEnabled";
  616.     Focused Image "SingleRosterArrowFocusUp";
  617.     Pushed Image "SingleRosterArrowPushUp";
  618. };
  619.  
  620. ButtonStyle "SingleRosterSingleRosterDown" {
  621.     Enabled Image "SingleRosterSingleRosterDownEnabled";
  622.     Focused Image "focusDown";
  623.     Pushed Image "SingleRosterArrowPushDown";
  624. };
  625.  
  626. Style "SingleRosterCourtStyle" {
  627.     Image "SingleRosterCourt";
  628. };
  629. Style "SingleRosterSubTab" {
  630.     Image "SingleSubTab";
  631. };
  632.  
  633. Style "SingleRosterLogoBoxStyle" {
  634.     Image "SingleRosterLogoBox";
  635. };
  636.  
  637. ButtonStyle "SingleRosterHomeLogo" {
  638.     Enabled Image "SingleRosterHomeLogoEnabled";
  639.     Focused Image "SingleRosterHomeLogoFocused";
  640.     Armed Image "SingleRosterHomeLogoArmed";
  641.     PushedAndArmed Image "SingleRosterHomeLogoArmed";
  642. };
  643.  
  644. ButtonStyle "SingleRosterAwayLogo" {
  645.     Enabled Image "SingleRosterAwayLogoEnabled";
  646.     Armed Image "SingleRosterAwayLogoArmed";
  647.     Focused Image "SingleRosterAwayLogoFocused";
  648.     PushedAndArmed Image "SingleRosterAwayLogoArmed";
  649. };
  650.  
  651. Style "SingleRosterPlayersBackStyle" {
  652.     Image "SingleRosterPlayerBack";
  653. };
  654. Style "SingleGameTitleStyle" {
  655.     Font "SingleGameTitleFont";
  656. };
  657.  
  658.  
  659. //********************************
  660. //  Buttons
  661. //********************************
  662. Button "SingleRosterHomeSingleRosterUp" {
  663.     ButtonStyle "SingleRosterSingleRosterUp";
  664. };
  665.  
  666. Button "SingleRosterHomeSingleRosterDown" {
  667.     ButtonStyle "SingleRosterSingleRosterDown";
  668.     Position [0, 181];
  669. };
  670.  
  671. Button "SingleRosterAwaySingleRosterUp" {
  672.     ButtonStyle "SingleRosterSingleRosterUp";
  673. };
  674.  
  675. Button "SingleRosterAwaySingleRosterDown" {
  676.     ButtonStyle "SingleRosterSingleRosterDown";
  677.     Position [0, 181];
  678. };
  679.  
  680. CheckButton "SingleRosterHomeLogo" {
  681.     ButtonStyle "SingleRosterHomeLogo";
  682. };
  683.  
  684. CheckButton "SingleRosterAwayLogo" {
  685.     ButtonStyle "SingleRosterAwayLogo";
  686.     Position [59, 0];
  687. };
  688. CheckButton "SingleGameSubstitutionButtonHome" {
  689.     ButtonStyle "SingleGameOnOffButton";
  690.  
  691.     Armed String "ON" {
  692.         Justify CenterCenter;
  693.         Position [16, 6];
  694.     };
  695.  
  696.     Enabled String "OFF" {
  697.         Justify CenterCenter;
  698.         Position [16, 6];
  699.     };
  700. };
  701. CheckButton "SingleGameSubstitutionButtonAway" {
  702.     ButtonStyle "SingleGameOnOffButton";
  703.  
  704.     Armed String "ON" {
  705.         Justify CenterCenter;
  706.         Position [16, 6];
  707.     };
  708.  
  709.     Enabled String "OFF" {
  710.         Justify CenterCenter;
  711.         Position [16, 6];
  712.     };
  713. };
  714.  
  715.  
  716. //********************************
  717. //  Thumbs
  718. //********************************
  719. Thumb "SingleRosterHomeSingleRosterThumb" {
  720.     Image "SingleRosterSingleRosterThumb";
  721.     Vertical;
  722.     FixedPosition 2;
  723.     Range [15, 169];
  724. };
  725.  
  726. Thumb "SingleRosterAwaySingleRosterThumb" {
  727.     Image "SingleRosterSingleRosterThumb";
  728.     Vertical;
  729.     FixedPosition 2;
  730.     Range [15, 169];
  731. };
  732.  
  733. //********************************
  734. //  Drop Items
  735. //********************************
  736. PlayerDropItem "SingleRosterHomeCourtCenter" {
  737.     Style "SingleRosterHomePlayersDropItemStyle";
  738.     String "Starting Center";
  739.     Rect [20, 35, 149, 23];
  740.     Highlight Rect [45, 38, 124, 13];
  741.     Position [26, 39];
  742.     Selectable;
  743.  
  744.     Pushed Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  745.     Pushed Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  746.     Pushed Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  747. };
  748.  
  749. PlayerDropItem "SingleRosterHomeCourtSmallForward" {
  750.     Style "SingleRosterHomePlayersDropItemStyle";
  751.     String "Starting Small Forward";
  752.     Rect [161, 56, 169, 23];
  753.     Highlight Rect [186, 59, 144, 13];
  754.     Position [167, 60];
  755.     Selectable;
  756.  
  757.     Pushed Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  758.     Pushed Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  759.     Pushed Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  760. };
  761.  
  762. PlayerDropItem "SingleRosterHomeCourtPointGuard" {
  763.     Style "SingleRosterHomePlayersDropItemStyle";
  764.     String "Starting Point Guard";
  765.     Rect [218, 120, 138, 23];
  766.     Highlight Rect [233, 123, 113, 13];
  767.     Position [226, 124];
  768.     Selectable;
  769.  
  770.     Pushed Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  771.     Pushed Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  772.     Pushed Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  773. };
  774.  
  775. PlayerDropItem "SingleRosterHomeCourtShootingGuard" {
  776.     Style "SingleRosterHomePlayersDropItemStyle";
  777.     String "Starting Shooting Guard";
  778.     Rect [161, 185, 169, 23];
  779.     Highlight Rect [186, 188, 144, 13];
  780.     Position [167, 189];
  781.     Selectable;
  782.  
  783.     Pushed Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  784.     Pushed Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  785.     Pushed Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  786. };
  787.  
  788. PlayerDropItem "SingleRosterHomeCourtPowerForward" {
  789.     Style "SingleRosterHomePlayersDropItemStyle";
  790.     String "Starting Power Forward";
  791.     Rect [20, 206, 149, 23];
  792.     Highlight Rect [45, 209, 124, 13];
  793.     Position [26, 210];
  794.     Selectable;
  795.  
  796.     Pushed Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  797.     Pushed Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  798.     Pushed Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  799. };
  800.  
  801. PlayerDropItem "SingleRosterAwayCourtCenter" {
  802.     Style "SingleRosterAwayPlayersDropItemStyle";
  803.     String "Starting Center";
  804.     Rect [20, 35, 149, 23];
  805.     Highlight Rect [45, 38, 124, 13];
  806.     Position [26, 39];
  807.     Selectable;
  808.  
  809.     Pushed Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  810.     Pushed Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  811.     Pushed Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  812. };
  813.  
  814. PlayerDropItem "SingleRosterAwayCourtSmallForward" {
  815.     Style "SingleRosterAwayPlayersDropItemStyle";
  816.     String "Starting Small Forward";
  817.     Rect [161, 56, 169, 23];
  818.     Highlight Rect [186, 59, 144, 13];
  819.     Position [167, 60];
  820.     Selectable;
  821.  
  822.     Pushed Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  823.     Pushed Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  824.     Pushed Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  825. };
  826.  
  827. PlayerDropItem "SingleRosterAwayCourtPointGuard" {
  828.     Style "SingleRosterAwayPlayersDropItemStyle";
  829.     String "Starting Point Guard";
  830.     Rect [218, 120, 138, 23];
  831.     Highlight Rect [243, 123, 113, 13];
  832.     Position [226, 124];
  833.     Selectable;
  834.  
  835.     Pushed Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  836.     Pushed Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  837.     Pushed Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  838. };
  839.  
  840. PlayerDropItem "SingleRosterAwayCourtShootingGuard" {
  841.     Style "SingleRosterAwayPlayersDropItemStyle";
  842.     String "Starting Shooting Guard";
  843.     Rect [161, 185, 169, 23];
  844.     Highlight Rect [186, 188, 144, 13];
  845.     Position [167, 189];
  846.     Selectable;
  847.  
  848.     Pushed Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  849.     Pushed Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  850.     Pushed Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  851. };
  852.  
  853. PlayerDropItem "SingleRosterAwayCourtPowerForward" {
  854.     Style "SingleRosterAwayPlayersDropItemStyle";
  855.     String "Starting Power Forward";
  856.     Rect [20, 206, 149, 23];
  857.     Highlight Rect [45, 209, 124, 13];
  858.     Position [26, 210];
  859.     Selectable;
  860.  
  861.     Pushed Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  862.     Pushed Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  863.     Pushed Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  864. };
  865.  
  866. //********************************
  867. //  Drag Items
  868. //********************************
  869. PlayerDragItem "SingleRosterHomePlayer" {
  870.     Style "SingleRosterHomePlayersDragItemStyle";
  871.     String "Player name goes here";
  872.     PlayerDropItem "SingleRosterHomeCourtCenter";
  873.     PlayerDropItem "SingleRosterHomeCourtSmallForward";
  874.     PlayerDropItem "SingleRosterHomeCourtPointGuard";
  875.     PlayerDropItem "SingleRosterHomeCourtShootingGuard";
  876.     PlayerDropItem "SingleRosterHomeCourtPowerForward";
  877.     Drop Action SwapFieldsDrop "szStartPos" And "szMatchupPos";
  878. };
  879.  
  880. PlayerDragItem "SingleRosterAwayPlayer" {
  881.     Style "SingleRosterAwayPlayersDragItemStyle";
  882.     String "Player name goes here";
  883.     PlayerDropItem "SingleRosterAwayCourtCenter";
  884.     PlayerDropItem "SingleRosterAwayCourtSmallForward";
  885.     PlayerDropItem "SingleRosterAwayCourtPointGuard";
  886.     PlayerDropItem "SingleRosterAwayCourtShootingGuard";
  887.     PlayerDropItem "SingleRosterAwayCourtPowerForward";
  888.     Drop Action SwapFieldsDrop "szStartPos" And "szMatchupPos";
  889. };
  890.  
  891. //********************************
  892. //  List Boxes
  893. //********************************
  894. PlayerDBListBox "SingleRosterHomePlayersListBox" {
  895.     Style "SingleRosterHomePlayersListBoxStyle";
  896.     Position [1, 38];
  897.     Size [198, 189];
  898.     Highlight [160, 0, 0];
  899.  
  900.     Select Action {SetData "SingleRosterHomePlayerDragID" LinkTo "FieldszID";};
  901.     Select Action {SetData "HomePlayerDisplayID" LinkTo "FieldszID";};
  902.     Select Action {Drag PlayerDragItem "SingleRosterHomePlayer";};
  903.  
  904.     Tab 8 Left;
  905.     Tab 135 Left;
  906.     Tab 175 Center;
  907. };
  908.  
  909. PlayerDBListBox "SingleRosterAwayPlayersListBox" {
  910.     Style "SingleRosterAwayPlayersListBoxStyle";
  911.     Position [1, 38];
  912.     Size [198, 189];
  913.     Highlight [160, 0, 0];
  914.  
  915.     Select Action {SetData "SingleRosterAwayPlayerDragID" LinkTo "FieldszID";};
  916.     Select Action {SetData "AwayPlayerDisplayID" LinkTo "FieldszID";};
  917.     Select Action {Drag PlayerDragItem "SingleRosterAwayPlayer";};
  918.  
  919.     Tab 8 Left;
  920.     Tab 135 Left;
  921.     Tab 175 Center;
  922. };
  923.  
  924. //********************************
  925. //  Groups
  926. //********************************
  927. Group "SingleRoster" {
  928.     Root;
  929.     Children {
  930.         Group "SingleRosterSubTab";
  931.         MenuGroup "SingleRosterLogoBox";
  932.     
  933.     };
  934. };
  935.  
  936. MenuGroup "SingleRosterLogoBox" {
  937.     Style "SingleRosterLogoBoxStyle";
  938.     Position [209, 100];
  939.     Children {
  940.         RadioGroup "SingleRosterLogoBox";
  941.         Group "SingleRosterHomeScreen";
  942.         Group "SingleRosterAwayScreen";
  943.     };
  944. };
  945.  
  946. RadioGroup "SingleRosterLogoBox" {
  947.     Position [0, 115];
  948.     Children {
  949.         CheckButton "SingleRosterHomeLogo";
  950.         CheckButton "SingleRosterAwayLogo";
  951.     };
  952. };
  953.  
  954. Group "SingleRosterHomeScreen" {
  955.     Position [0, 15];
  956.     Children {
  957.         Group "SingleRosterHomeLogos";
  958.         Group "SingleRosterHomePlayers";
  959.         Group "SingleRosterHomeCourt";
  960.         ListBoxGroup "SingleRosterHomeSingleRoster";
  961.         Group "SingleGameRosterSubstitutionsButtonHome";
  962.     };
  963. };
  964.  
  965. Group "SingleRosterHomeLogos" {
  966.     Position [4, -8];
  967.     Children {
  968.         Include "UIScript\HomeLogo";
  969.     };
  970. };
  971. Group "SingleRosterSubTab" {
  972.     Position [228, 507];
  973.     Style "SingleRosterSubTab";
  974. };
  975.  
  976. ListBoxGroup "SingleRosterHomeSingleRoster" {
  977.     Style "SingleRosterSingleRosterStyle";
  978.     Position [-100, 142];
  979.     Children {
  980.         PlayerDBListBox "SingleRosterHomePlayersListBox";
  981.         ScrollBarGroup "SingleRosterHomePlayersScrollBar";
  982.     };
  983. };
  984.  
  985. ScrollBarGroup "SingleRosterHomePlayersScrollBar" {
  986.     Position [8, 38];
  987.     Children {
  988.         Button "SingleRosterHomeSingleRosterUp";
  989.         Thumb "SingleRosterHomeSingleRosterThumb";
  990.         Button "SingleRosterHomeSingleRosterDown";
  991.     };
  992. };
  993.  
  994. Group "SingleRosterHomePlayers" {
  995.     Style "SingleRosterPlayersBackStyle";
  996.     Position [102, 9];
  997.     Children {
  998.         Group "SingleRosterHomePlayerFaces";
  999.     };
  1000. };
  1001.  
  1002. Group "SingleRosterHomePlayerFaces" {
  1003.     Position [13, 4];
  1004.     Children {
  1005.         Include "UIScript\HomeFace";
  1006.     };
  1007. };
  1008.  
  1009. Group "SingleRosterHomeCourt" {
  1010.     Style "SingleRosterCourtStyle";
  1011.     Position [103, 142];
  1012.     Children {
  1013.         PlayerDropItem "SingleRosterHomeCourtCenter";
  1014.         PlayerDropItem "SingleRosterHomeCourtSmallForward";
  1015.         PlayerDropItem "SingleRosterHomeCourtPointGuard";
  1016.         PlayerDropItem "SingleRosterHomeCourtShootingGuard";
  1017.         PlayerDropItem "SingleRosterHomeCourtPowerForward";
  1018.     };
  1019. };
  1020.  
  1021. Group "SingleRosterAwayScreen" {
  1022.     Position [0, 15];
  1023.     Children {
  1024.         Group "SingleRosterAwayLogos";
  1025.         Group "SingleRosterAwayPlayers";
  1026.         Group "SingleRosterAwayCourt";
  1027.         ListBoxGroup "SingleRosterAwaySingleRoster";
  1028.         Group "SingleGameRosterSubstitutionsButtonAway";
  1029.     };
  1030. };
  1031.  
  1032. Group "SingleRosterAwayLogos" {
  1033.     Position [4, -8];
  1034.     Children {
  1035.         Include "UIScript\VisLogo";
  1036.     };
  1037. };
  1038.  
  1039. ListBoxGroup "SingleRosterAwaySingleRoster" {
  1040.     Style "SingleRosterSingleRosterStyle";
  1041.     Position [-100, 142];
  1042.     Children {
  1043.         PlayerDBListBox "SingleRosterAwayPlayersListBox";
  1044.         ScrollBarGroup "SingleRosterAwayPlayersScrollBar";
  1045.     };
  1046. };
  1047.  
  1048. ScrollBarGroup "SingleRosterAwayPlayersScrollBar" {
  1049.     Position [8, 38];
  1050.     Children {
  1051.         Button "SingleRosterAwaySingleRosterUp";
  1052.         Thumb "SingleRosterAwaySingleRosterThumb";
  1053.         Button "SingleRosterAwaySingleRosterDown";
  1054.     };
  1055. };
  1056.  
  1057. Group "SingleRosterAwayPlayers" {
  1058.     Style "SingleRosterPlayersBackStyle";
  1059.     Position [102, 9];
  1060.     Children {
  1061.         Group "SingleRosterAwayPlayerFaces";
  1062.     };
  1063. };
  1064.  
  1065. Group "SingleRosterAwayPlayerFaces" {
  1066.     Position [13, 4];
  1067.     Children {
  1068.         Include "UIScript\AwayFace";
  1069.     };
  1070. };
  1071.  
  1072. Group "SingleRosterAwayCourt" {
  1073.     Style "SingleRosterCourtStyle";
  1074.     Position [103, 142];
  1075.     Children {
  1076.         PlayerDropItem "SingleRosterAwayCourtCenter";
  1077.         PlayerDropItem "SingleRosterAwayCourtSmallForward";
  1078.         PlayerDropItem "SingleRosterAwayCourtPointGuard";
  1079.         PlayerDropItem "SingleRosterAwayCourtShootingGuard";
  1080.         PlayerDropItem "SingleRosterAwayCourtPowerForward";
  1081.     };
  1082. };
  1083. Group "SingleGameRosterSubstitutionsButtonHome" {
  1084.     Position [28, 400];
  1085.     Children {
  1086.         CheckButton "SingleGameSubstitutionButtonHome";
  1087.         EditBox "SingleGameSubstitutionsTextHome";
  1088.     };
  1089. };
  1090. Group "SingleGameRosterSubstitutionsButtonAway" {
  1091.     Position [28, 400];
  1092.     Children {
  1093.         CheckButton "SingleGameSubstitutionButtonAway";
  1094.         EditBox "SingleGameSubstitutionsTextAway";
  1095.     };
  1096. };
  1097.  
  1098. //*****************************
  1099. //   Edit Boxes
  1100. //*****************************
  1101.  
  1102. EditBox "SingleGameSubstitutionsTextHome" {
  1103.     Style "SingleGameTitleStyle";
  1104.     Position [45,0];
  1105.     Size [200,50];
  1106.  
  1107.     String "Computer Manages Substitutions" {
  1108.         Justify TopLeft;
  1109.     };
  1110. };
  1111. EditBox "SingleGameSubstitutionsTextAway" {
  1112.     Style "SingleGameTitleStyle";
  1113.     Position [45,0];
  1114.     Size [200,50];
  1115.  
  1116.     String "Computer Manages Substitutions" {
  1117.         Justify TopLeft;
  1118.     };
  1119. };